package com.synnex.mobile.servier.core.resource.dao;

import com.synnex.mobile.servier.core.resource.dto.Resource;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-8-12
 * Time: 下午8:38
 * To change this template use File | Settings | File Templates.
 */
public interface ResourceDao {

    List<Resource> ListResource(String key);

    void addResource(Resource record);

    void editResource(Resource record);

    Resource getResourceById(Integer id);

    void deleteResourceById(Integer id);
}
